﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using Model;

namespace BLL
{
    public class SysFlowBLL
    {
        SysFlowDAL dal = new SysFlowDAL();
        /// <summary>
        /// 获取OA流程数据
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="total"></param>
        /// <returns></returns>
        public List<SysFLow> GetList(int pageIndex, int pageSize, ref int total)
        {
            return dal.GetList(pageIndex, pageSize, ref total);
        }
        /// <summary>
        /// 导入OA
        /// </summary>
        /// <param name="flowID"></param>
        /// <returns></returns>
        public int ImprotOA(int flowID)
        {
            return dal.ImprotOA(flowID);
        }
    }
}
